package com.cq.service;

import com.cq.pojo.Permission;
import com.cq.pojo.Role;

import java.util.List;

/**
 * @Author: 悠久的苍穹
 * @Date: 2021/2/7 18:12
 * @Description: 权限服务层
 * @Version: 1.0
 */
public interface PermissionService {

    List<Permission> findPermissionByRole(Role role);

    List<Permission> getPermissions();

    List<Permission> getPermissionsById(Integer id);

    void updatePermission(String role_id, String id);
}
